package base

import (
	"Alpaca/chanrpc"
	"Alpaca/module"
	"server/conf"
)

func NewSkeleton() *module.Skeleton {
	skeleton := &module.Skeleton{
		GoLen:         conf.GoLen,
		TimerLen:      conf.TimerLen,
		AsynCallLen:   conf.AsynCallLen,
		ChanRPCServer: chanrpc.NewServer(conf.ChanRPCLen),
	}
	skeleton.Init()
	return skeleton
}
